package com.study.day20190714;

public class Test {
	private static final int ENDNUMBER=Integer.MAX_VALUE;
	private static final int STARTNUMBER=Integer.MAX_VALUE-2;
	public static void main(String[] args) {
		/*Integer total=0;
		paramCheck(total);
		System.out.println(total);*/
		System.out.println(ENDNUMBER+1);
		System.out.println(STARTNUMBER);
		int count0 = 0;
		for(int i= STARTNUMBER;i<=ENDNUMBER;i++)
			count0++;

		System.out.println(count0);
		int count = 0;
		for(int i= Integer.MIN_VALUE;i<Integer.MAX_VALUE;i++){
			count++;
		}
		System.out.println(count);

	/*	Float totalMoney=200000.8f;
		Float ownMoney=170000.5f;
		Float leftMoney=totalMoney-ownMoney;
		System.out.println(leftMoney);

		String aaa=new String("aaa");
		paramStringCheck(aaa);
		System.out.println(aaa);*/

	}

	private static void paramCheck(Integer total){
		if(total<1){
			total+=1;
		}
		System.out.println(total);
	}

	private static void paramStringCheck(String aaa){
		aaa+="b";
		System.out.println(aaa);
	}
}
